var Mock = require('mockjs');
var data = function () {
    return Mock.mock({
        "resultCode": 200,
        "resultMessage": "OK",
        "data": {
            "id": 180,
            "userName": "采购",
            "userAccount": "buyer",
            "userStatus": "1",
            "userComment": "采购员，没有审核的权限吧",
            "departmentId": 14,
            "companyId": null,
            "token": "13990502102128908948018362",
            "merchantId": 0,
            "menus": [{
                "menuCode": 1014,
                "menuName": "进销存",
                "menuUrl": "content.do?menucode=1014",
                "parentCode": 1,
                "subMenu": [{
                    "menuCode": 1014001,
                    "menuName": "店铺设置",
                    "menuUrl": "/readme",
                    "parentCode": 1014,
                    "subMenu": [{
                        "menuCode": 1014002,
                        "menuName": "订单管理",
                        "menuUrl": "/basetable",
                        "parentCode": 1014,
                        "subMenu": null
                    },
                    {
                        "menuCode": 1014003,
                        "menuName": "采购单",
                        "menuUrl": "/vuetable",
                        "parentCode": 1014,
                        "subMenu": null
                    }]
                },
                {
                    "menuCode": 1014002,
                    "menuName": "订单管理",
                    "menuUrl": "/basetable",
                    "parentCode": 1014,
                    "subMenu": null
                },
                {
                    "menuCode": 1014003,
                    "menuName": "采购单",
                    "menuUrl": "/vuetable",
                    "parentCode": 1014,
                    "subMenu": null
                },
                {
                    "menuCode": 1014004,
                    "menuName": "发布商品",
                    "menuUrl": "/product",
                    "parentCode": 1014,
                    "subMenu": null
                },
                {
                    "menuCode": 1014005,
                    "menuName": "商品管理",
                    "menuUrl": "/vueeditor",
                    "parentCode": 1014,
                    "subMenu": [{
                        "menuCode": 1014002,
                        "menuName": "店铺商品列表",
                        "menuUrl": "/goods",
                        "parentCode": 1014,
                        "subMenu": null
                    }]
                },
                {
                    "menuCode": 1014006,
                    "menuName": "供应商管理",
                    "menuUrl": "/supplier",
                    "parentCode": 1014,
                    "subMenu": null
                }
                ]
            }],
            "merchant": false
        },
        "systemTime": 1493691688939
    });
}

module.exports = data;